package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

/**
 * <p>
 *
 * </p>
 *
 * @author wanghuaixing
 * @since 2024-04-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "BAC_CULTRUE_INFO", autoResultMap = true)
public class BacCultrueInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 菌株ID
     */
    /*@TableField("STRAIN_ID")
    private String strainId;*/

    /**
     * 培养基ID
     */
    /*@TableField("CULTRUE_ID")
    private String cultrueId;*/

    /**
     * 报告单元
     */
    @TableField("RPT_GROUP")
    private String rptGroup;

    /**
     * 检验日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField(value = "SAMPLEDA", fill = FieldFill.UPDATE)
    private Timestamp sampleda;

    /**
     * 标本号
     */
    @TableField("SAMPLE_NO")
    private String sampleNo;

    /**
     * 检验主键
     */
    /*@TableField("MAININFO_ID")
    private String maininfoId;*/

    /**
     * 流程ID
     */
    /*@TableField("WORK_FLOW_ID")
    private String workFlowId;*/

    /**
     * 流程节点ID
     */
    /*@TableField("WORK_FLOW_NODE_ID")
    private String workFlowNodeId;*/

    /**
     * 培养基名称
     */
    @TableField("CUL_MEDIUM_NA")
    private String cultrueNa;
    /**
     * 染色结果id
     */
    /*@TableField("STAINING_RESULT_ID")
    private String stainingResultId;*/


    //----------------------------------
    /**
     * 菌株编号
     */
    @TableField("STRAIN_NO")
    private String strainNo;
    /**
     * 培养基编号
     */
    @TableField("CUL_MEDIUM_NO")
    private String culMediumNo;
    /**
     * 检验方案编号
     */
    @TableField("TEST_FLOW_NO")
    private String testFlowNo;
    /**
     * 检验方案节点编号
     */
    @TableField("TEST_NODE_NO")
    private String testNodeNo;
    /**
     * 菌株编号
     */
    @TableField("ISOLATE_NUM")
    private String isolateNum;
    /**
     * 细菌编号
     */
    @TableField("GERM_NO")
    private String germNo;
}
